#include<iostream>
using namespace std;
int rango(int n1, int n2);
int main ()
{
    cout<<rango(1,6);
    return 1;
}
int rango(int n1, int n2)
{
    int suma;
    suma=0;
    while (n1<=n2)
    {
    suma=suma+n1;
    n1=n1+1;
    }
    return suma;
}
